package com.fzk.blog.bean.vo;

import com.fzk.blog.bean.Tag;
import com.fzk.blog.bean.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author fzk
 * @date 2021-08-21 18:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BlogInfo {
    private Integer id;
    private Integer typeId;

    private String recommendLevel;//推荐级别
    private String createFlag;//创建标记：原创/转载

    private String title;
    private String content;// 由于较大，所以mapper层选择是否查出此属性
    private String description;

    private String imageUrl;
    private Integer viewTimes;
    private Boolean published;
    private String publishDate;

    private String typeName;    //分类名
    private Integer createBy;// 创建人的id
    private String editTime;// 修改时间：回收站需要用到删除时间
    /*这2个属性需要单独查询赋值*/
    private List<Tag> tagList;// 标签列表
    private User createUser;// 创建人
}
